<script>
import { getUserInfo } from '@/api/login'
import { mapActions } from 'pinia'
import { useUserinfoStore } from '@/store/info'
	export default {
		onLaunch: function() {
			this.update()
			this.getSystemInfo()
			uni.setLocale('en')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		/**
		 * 
		 */
		methods: {
			...mapActions(useUserinfoStore, ['update', 'getSystemInfo']),
		}
	}
</script>

<style lang="scss">
	@import '@/common/uni.css';
	.fix-pc-padding {
		padding: 0 50px;
	}
	.uv-form-item__body{
		padding: 24rpx 0;
	}
	.uv-form-item__body__left__content__label{
		border-right: 1px solid #fff;
	}
	.uni-header-logo {
		padding: 30rpx;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-top: 10rpx;
	}

	.uni-header-image {
		width: 100px;
		height: 100px;
	}

	.uni-hello-text {
		color: #7A7E83;
	}

	.uni-hello-addfile {
		text-align: center;
		line-height: 300rpx;
		background: #FFF;
		padding: 50rpx;
		margin-top: 10px;
		font-size: 38rpx;
		color: #808080;
	}

	// .uv-upload__wrap {
	// 	display: inline-block !important;
	// }

	.uv-calendar-item__weeks-box-item {
		width: 50rpx !important;
	}

	.form-item-picker {
		.lable {
			font-weight: 400;
			font-size: 12px;
			color: #475467;
			line-height: 15px;
			text-align: left;
		}

		:global(.picker) {
			width: auto !important;
			padding: 24rpx !important;
			background: #fff !important;
			font-weight: 400;
			font-size: 26rpx;
			border-radius: 16rpx;
			color: #1D232E;
			line-height: 19px;
			text-align: left;

			.pickerIcon {
				position: relative;
				bottom: -8rpx;
				padding-right: 10rpx;
			}
		}
	}

	.input {
		padding: 24rpx;
	}
	::v-deep .form-box .form-item .picker, .form-box .form-item .input, .form-box .form-item .textarea {
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    padding: 10px;
    font-size: 15px;
    background: #fff !important;
    margin-top: 6px;
	}
	.bottom-btns, .footer {
	display: flex;
	justify-content: space-between;
	padding: 16px;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: calc(100vw - 32px);
	background: #fff;
	box-shadow:  0px -5px 30px #d0ffe5;
	.btn {
			flex: 1;
			margin: 0 8px;
			height: 44px;
			border-radius: 24px;
			font-size: 16px;
			font-weight: 500;
	}

	.save {
			color: #00b386;
			background: #fff;
			border: 1.5px solid #00b386;
	}

	.submit {
			color: #fff;
			background: linear-gradient(90deg, #7be3b6, #00b386);
			border: none;
	}
}
</style>